//
//  RatingBar.h
//  dingding
//
//  Created by dingding on 15/12/10.
//  Copyright © 2015年 dingding. All rights reserved.
//
#import <UIKit/UIKit.h>

typedef void(^AlertResult)(NSInteger index);

@interface XLAlertView : UIView

@property (nonatomic,copy) AlertResult resultIndex;

- (instancetype)initOneBtnImageName:(NSString *)oneName OneBtnTitle:(NSString *)oneTitle TwoBtnImageName:(NSString *)twoName TwoBtnTitle:(NSString *)twoTitle;

- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message sureBtn:(NSString *)sureTitle cancleBtn:(NSString *)cancleTitle;

- (void)showXLAlertView;

@end
